package com.example.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDateTime;

@RestController
public class HelloController {

    @GetMapping("/index")
    public String hello() {
        return "hello,当时时间为：" + LocalDateTime.now();
    }
}
